package com.fesine.ch02.syn_out_asyn;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/5 9:09
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/5 9:09
 */
public class MyThreadA extends Thread {
    private MyList list;

    public MyThreadA(MyList list) {
        super();
        this.list = list;
    }

    @Override
    public void run() {
        for (int i = 0; i < 100000; i++) {
            list.add("threadA"+(i+1));
        }
    }
}
